package com.yanqu.road.entity.cricket;

import com.yanqu.road.entity.DataObject;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 蛐蛐图鉴数据
 */
public class CricketBookData extends DataObject {

    /**
     * 用户id
     */
    private long userId;

    /**
     * 蛐蛐id
     */
    private int cricketId;


    /**
     * 累计数量
     */
    private int totalCount;


    public CricketBookData() {

    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getCricketId() {
        return cricketId;
    }

    public void setCricketId(int cricketId) {
        if (this.cricketId != cricketId) {
            this.cricketId = cricketId;
            setUpdateOption();
        }
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        if (this.totalCount != totalCount) {
            this.totalCount = totalCount;
            setUpdateOption();
        }
    }
}
